﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BlogDemo.Application
{

    /// <summary>
    /// appsetting 中 TokenConfiguration
    /// </summary>
    public class TokenConfiguration
    {
        /// <summary>
        ///  密码
        /// </summary>
        public string SigningKey { get; set; }
        /// <summary>
        ///Jwt token 的签发者
        /// </summary>
        public string Issuer { get; set; }
        /// <summary>
        /// Jwt token 的接收者
        /// </summary>
        public string Audience { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int AccessExpiration { get; set; }
        /// <summary>
        /// 刷新
        /// </summary>
        public int RefreshExpiration { get; set; }

        public int ExpireMinutes { get; set; }

    }
}
